﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DemoVisualStudioUnitTest.Test2
{
	public abstract class Employee
	{
		public string Firstname { get; set; }
		public string Name { get; set; }

		public abstract string Work();
		public abstract string SayHello();
	}

	public class Technician : Employee
	{
		public override string Work()
		{
			return String.Format("Le technicien {0} {1} est au travail...",
					this.Firstname, this.Name);
		}

		public override string SayHello()
		{
			return String.Format("Bonjour je m'appel {0} {1} et je suis un technicien",
					this.Firstname, this.Name);
		}
	}

	public class Pilot : Employee
	{
		public override string Work()
		{
			return String.Format("Le pilote {0} {1} est au travail...",
					this.Firstname, this.Name);
		}

		public override string SayHello()
		{
			return String.Format("Bonjour je m'appel {0} {1} et je suis un pilote",
					this.Firstname, this.Name);
		}
	}
}
